<?php
/**
 * Created by PhpStorm.
 * User: Admin
 * Date: 2019/11/14
 * Time: 16:44
 */

namespace DuRequest\Checker\lib;


class HttpUrlChecker extends RegChecker
{
    public function __construct($key, $error_msg)
    {
        parent::__construct($key, $error_msg, '/^http[s]?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?$/');
    }

}